// TouchFlo Detacher
// Copyright (C) 2009, Avian Waves Software
// SEE LICENSE.TXT for software licensing information regarding original TouchFlo Detacher source code and binaries
// SEE OpenNetCF_LICENSE.TXT for licensing information regarding OpenNetCF binaries

// TFDHideTF.cpp : Defines the entry point for the application.
//

#include "stdafx.h"
#include "TFDHideTF.h"
#include <winuser.h>
#include "..\commoncpp\common.h"

#define DEBUGMODE


int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
  HideManila();

//  TCHAR *className = _T("#NETCF_AGL_MSG_");
//  TCHAR *windowName = _T("TFDSvcMessageQueue");
//  HWND svc = FindWindow(className, windowName);
//
//  if (svc)
//  {
//    // This message tells the service to hide Manila
//    SendMessage(svc, 0x202, 1, 2);
//  }
//  else
//  {
//#ifdef DEBUGMODE
//    MessageBox(0, _T("Unable to find TouchFlo Detacher Service"), _T("DEBUG"), 0);
//#endif
//  }

  return 0;
}

